package net.jxtz.jxtzos.impl.achievement;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import net.jxtz.jxtzos.entity.achievements.UserAchievement;
import net.jxtz.jxtzos.entity.achievements.dto.InitUserAchieve;
import net.jxtz.jxtzos.mapper.achievement.UserAchievementMapper;
import net.jxtz.jxtzos.service.achievement.UserAchievementService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author a123
 */
@Service
public class UserAchievementServiceImpl extends ServiceImpl<UserAchievementMapper, UserAchievement> implements UserAchievementService {

    @Override
    public List<InitUserAchieve> getInitUserAchieveList() {
        return userAchievementMapper.getInitUserAchieveList();

    }

    private final UserAchievementMapper userAchievementMapper;

    @Autowired
    public UserAchievementServiceImpl(UserAchievementMapper userAchievementMapper){
        this.userAchievementMapper = userAchievementMapper;
    }
}
